@import '../../styles/theme.scss';

.comp-popup {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 9;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  // NOTE RN 没有 display: none，暂时用 height 实现同等效果
  &--visible {
    height: 100%;
  }
}

.comp-popup__mask {
  flex: 1;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
}

.comp-popup__wrapper {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #ffffff;
}

.comp-popup__content {
}

.comp-popup__close {
  position: absolute;
  top: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;

  &-img {
    width: 24px;
    height: 24px;
  }
}
